package edu.fpa.day0729;

public class TestCompare {
    public static void main(String [] args){
        String a1="戴志立"+"谭思雨";
        String a2="戴志立谭思雨";
        System.out.println(a1==a2);

        String b1="戴志立";
        String b2="谭思雨";
        String c1=b1+b2;
        System.out.println(a2==c1);
        System.out.println(a2.equals(c1));
    }
}
